using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsPhoneTron.Logic
{
    public class Unit
    {
        public const int NORMAL = 1, FAST = 2, FASTER = 4, INSANE = 8;

        Point position;
        float direction = 0.0f;
        float chosenDirection = 0.0f;
        float oldDirection = 0.0f;
        bool moving = false;
        bool dead = false;

        public Point Position
        {
            get { return position; }
            set { position = value; }
        }

        public float Direction
        {
            get { return direction; }
            set { direction = value; }
        }

        public float ChosenDirection
        {
            get { return chosenDirection; }
            set { chosenDirection = value; }
        }

        public float OldDirection
        {
            get { return oldDirection; }
            set { oldDirection = value; }
        }

        public bool Moving
        {
            get { return moving; }
            set { moving = value; }
        }

        public bool Dead
        {
            get { return dead; }
            set { dead = value; }
        }
    }
}
